let str = "['name','age']"
console.log(typeof JSON.parse(JSON.stringify(str)));